package com.wanmait.translate.system.service;

import com.wanmait.translate.dto.ResultData;
import com.wanmait.translate.pojo.SystemPost;

import java.util.List;

public interface SystemPostService {
    SystemPost getSelfAndParentByPrimaryKey(Integer id);

    SystemPost getByPrimaryKey(Integer id);

    List<SystemPost> listByConditionAndDeptId(SystemPost deptId);

    void save(SystemPost systemPost);

    ResultData<SystemPost> remove(Integer id);

    void update(SystemPost systemPost);
}
